<?php
/**
 * wp-foundation footer.php
 */
global $options; foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }}
?>
		<div class="clearfix">&nbsp;</div>
		</div><!-- .wrapper -->
    </div><!-- #main -->
	
	<footer id="footer">
    	<div class="wrapper">
			<div id="colophon">
				<?php if($fd_footer_widget_area_enable == 'Disable'){?>
				<div id="site-info">
					<p>
						<?php bloginfo('name'); ?> is proudly powered by
						<a href="http://wordpress.org/">WordPress</a>
						<br /><a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
						and <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.
					</p>			
				</div><!-- #site-info -->
				<?php } ?>
				<?php foundation_widget_footer_stuff(); ?>

			</div><!-- #colophon -->
    	</div><!-- .wrapper -->
	</footer><!-- #footer -->
	
</div><!-- #wrapper -->
<?php wp_footer();?>
<?php //speed testing if logged in 
if (is_user_logged_in()) { ?><div id="speed-test" style="padding:5px;background:#F66;color:#fff;font-size:11px;position:fixed;bottom:0;"><u><?php echo get_num_queries(); ?></u> queries in <u><?php timer_stop(1); ?></u> seconds.</div><?php } ?>
</body>
</html> 